﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.WMS.WareHouseStatistics.SalesReturns
{
    public class CreateUpdateSalesReturnsDto
    {
        /// <summary>
        /// 退货单号
        /// </summary>
        public string? Returncode { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public string? Returnstate { get; set; }

        /// <summary>
        /// 退货日期
        /// </summary>
        public DateTime Returntime { get; set; }

        /// <summary>
        /// 销售单号
        /// </summary>
        public string? Salescode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string? Clientname { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string? Linkman { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 销售部门
        /// </summary>
        public string? Salesdepartment { get; set; }

        /// <summary>
        /// 销售负责人
        /// </summary>
        public string? Salesperson { get; set; }

        /// <summary>
        /// 退货原因
        /// </summary>
        public string? Cause { get; set; }

        /// <summary>
        /// 退货备注
        /// </summary>
        public string? Desc { get; set; }

        /// <summary>
        /// 入库货品（关联货品表）
        /// </summary>
        public Guid? GoodsId { get; set; }

        /// <summary>
        /// 退货数量
        /// </summary>
        public int? Returnnumber { get; set; }

        /// <summary>
        /// 退货金额
        /// </summary>
        public decimal? Returnmoney { get; set; }

        /// <summary>
        /// 退货描述
        /// </summary>
        public string? GoodsDesc { get; set; }


        /// <summary>
        /// 制单人
        /// </summary>
        public string? Creator { get; set; }

        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime Createtime { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string? Auditor { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime Audittime { get; set; }

        /// <summary>
        /// 上传附件
        /// </summary>
        public string? Uploadattachment { get; set; }

        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
